package com.maxatime.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.maxatime.dao.StudentRegisterMapper;
import com.maxatime.pojo.dto.StudentRegisterDTO;
import com.maxatime.pojo.entity.StudentRegister;
import com.maxatime.service.StudentRegisterService;
@Service
public class StudentRegisterService1 implements StudentRegisterService{
	@Autowired
	StudentRegisterMapper studentRegisterMapper;
	@Override
	public int deleteByPrimaryKey(StudentRegister record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(StudentRegister record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(StudentRegister record) {
		
		return 0;
	}

	@Override
	public List<StudentRegister> selectByPrimaryKey(StudentRegister studentRegister) {
		System.out.println(studentRegister.getStudentId());
		List<StudentRegister> list=studentRegisterMapper.selectByPrimaryKey(studentRegister);
		return list;
	}

	@Override
	public int updateByPrimaryKeySelective(StudentRegister record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKey(StudentRegister record) {
		// TODO Auto-generated method stub
		return 0;
	}
    
}